<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->  <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	
	<title>全球播院线运营分析</title>
	
	<meta name="viewport" content="width=1024, user-scalable=no">
	
	<!-- Core and extension CSS files -->
	<link rel="stylesheet" href="slides/css/deck.core.css">
	<link rel="stylesheet" href="slides/css/deck.status.css">
	<link rel="stylesheet" href="slides/css/deck.scale.css">
	
	<!-- Style theme. More available in /themes/style/ or create your own. -->
	<link rel="stylesheet" href="slides/css/web-2.0.css">
	
	<!-- Transition theme. More available in /themes/transition/ or create your own. -->
	<link rel="stylesheet" href="slides/css/horizontal-slide.css">
	<link rel="stylesheet" href="slides/css/md_hl.css">
        <link href="slides/css/bootstrap.min.css" rel="stylesheet">
	
	<script src="slides/js/modernizr.custom.js"></script>
        <script src="slides/js/bootstrap.min.js"></script>
        <script src="slides/js/echarts.min.js"></script>

        <script>
            var _hmt = _hmt || [];
            (function() {
                var hm = document.createElement("script");
                hm.src = "//hm.baidu.com/hm.js?32a772e1baebccd1aae8eb9b36501576";
                var s = document.getElementsByTagName("script")[0]; 
                s.parentNode.insertBefore(hm, s);
            })();
        </script>
</head>

<body class="deck-container">
<!-- Begin slides -->

<section class="slide "><div class="content"><h1>KPI完成进度</h1>
<div id="boxofficekpi" style="width: 800px;height:500px;float:left;"></div>
<div id="cashkpi" style="width: 800px;height:500px;float:left;"></div>
<div id="increasekpi" style="width: 800px;height:500px;float:left;"></div>
    <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var boxofficekpi = echarts.init(document.getElementById('boxofficekpi'));
        option_boxoffice = {
            tooltip : {
                formatter: "{a} <br/>{b} : {c}%"
            },
            toolbox: {
                show : true,
                feature : {
                    mark : {show: true},
                    restore : {show: false},
                    saveAsImage : {show: false}
                }
            },
         series : [
            {
                name:'KPI',
                type:'gauge',
                radius: '80%',
                min:0,
                max:8000,
                splitNumber:4,
                axisLabel: {
                    textStyle:{
                        fontSize:20
                    }
                },
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
                        width: 15
                    }
                },
                axisTick: {            // 坐标轴小标记
                    length :15,        // 属性length控制线长
                    lineStyle: {       // 属性lineStyle控制线条样式
                        color: 'auto'
                    }
                },
                splitLine: {           // 分隔线
                    length :20,         // 属性length控制线长
                    lineStyle: {       // 属性lineStyle（详见lineStyle）控制线条样式
                        color: 'auto'
                    }
                },
                detail : {
                    textStyle: {       // 其余属性默认使用全局文本样式，详见TEXTSTYLE
                        fontWeight: 'bolder'
                    }
                },
                data:[{value: {{data.kpi_boxoffice_total}}, name: '票房(万)'}],
                title : {
                    textStyle : {
                        fontSize : 28
                    }
                }
            },
            {
                name:'月度',
                type:'gauge',
                center : ['18%', '60%'],    // 默认全局居中
                radius : '50%',
                min:0,
                max:666,
                endAngle:65,
                splitNumber:1,
                axisLabel: {
                    textStyle:{
                        fontSize:18
                    }
                },
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
                        width: 8
                    }   
                },
                axisTick: {            // 坐标轴小标记
                    length :12,        // 属性length控制线长
                    lineStyle: {       // 属性lineStyle控制线条样式
                        color: 'auto'
                    }
                },
                splitLine: {           // 分隔线
                    length :20,         // 属性length控制线长
                    lineStyle: {       // 属性lineStyle（详见lineStyle）控制线条样式
                        color: 'auto'
                    }
                },
                pointer: {
                    width:5
                },
                title : {
                    offsetCenter: [0, '-30%'],       // x, y，单位px
                },
                detail : {
                    textStyle: {       // 其余属性默认使用全局文本样式，详见TEXTSTYLE
                        fontWeight: 'bolder'
                    }  
                },
                data:[{value: {{data.kpi_boxoffice_m}}, name: '二月'}],
                title : {
                    textStyle : {
                        fontSize : 28
                    }
                }
             }
         ]
         };

        var cashkpi = echarts.init(document.getElementById('cashkpi'));
        option_cash = {
            tooltip : {
                formatter: "{a} <br/>{b} : {c}%"
            },
            toolbox: {
                show : true,
                feature : {
                    mark : {show: true},
                    restore : {show: false},
                    saveAsImage : {show: false}
                }
            },
         series : [
            {
                name:'KPI',
                type:'gauge',
                radius: '80%',
                min:0,
                max:2000,
                splitNumber:4,
                axisLabel: {
                    textStyle:{
                        fontSize:20
                    }
                },
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
                        width: 15
                    }
                },
                axisTick: {            // 坐标轴小标记
                    length :15,        // 属性length控制线长
                    lineStyle: {       // 属性lineStyle控制线条样式
                        color: 'auto'
                    }
                },
                splitLine: {           // 分隔线
                    length :20,         // 属性length控制线长
                    lineStyle: {       // 属性lineStyle（详见lineStyle）控制线条样式
                        color: 'auto'
                    }
                },
                detail : {
                    textStyle: {       // 其余属性默认使用全局文本样式，详见TEXTSTYLE
                        fontWeight: 'bolder'
                    }
                },
                data:[{value: {{data.kpi_cash_total}}, name: '现金(万)'}],
                title : {
                    textStyle : {
                        fontSize : 28
                    }
                }
            },
            {
                name:'月度',
                type:'gauge',
                center : ['18%', '60%'],    // 默认全局居中
                radius : '50%',
                min:0,
                max:166,
                endAngle:65,
                splitNumber:1,
                axisLabel: {
                    textStyle:{
                        fontSize:18
                    }
                },
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
                        width: 8
                    }
                },
                axisTick: {            // 坐标轴小标记
                    length :12,        // 属性length控制线长
                    lineStyle: {       // 属性lineStyle控制线条样式
                        color: 'auto'
                    }
                },
                splitLine: {           // 分隔线
                    length :20,         // 属性length控制线长
                    lineStyle: {       // 属性lineStyle（详见lineStyle）控制线条样式
                        color: 'auto'
                    }
                },
                pointer: {
                    width:5
                },
                title : {
                    offsetCenter: [0, '-30%'],       // x, y，单位px
                },
                detail : {
                    textStyle: {       // 其余属性默认使用全局文本样式，详见TEXTSTYLE
                        fontWeight: 'bolder'
                    }
                },
                data:[{value: {{data.kpi_cash_m}}, name: '二月'}],
                title : {
                    textStyle : {
                        fontSize : 28
                    }
                }
             }
         ]
         };

        var increasekpi = echarts.init(document.getElementById('increasekpi'));
        option_increase = {
            tooltip : {
                formatter: "{a} <br/>{b} : {c}%"
            },
            toolbox: {
                show : true,
                feature : {
                    mark : {show: true},
                    restore : {show: false},
                    saveAsImage : {show: false}
                }
            },
         series : [
            {
                name:'KPI',
                type:'gauge',
                radius: '80%',
                min:0,
                max:1500,
                splitNumber:4,
                axisLabel: {
                    textStyle:{
                        fontSize:20
                    }
                },
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
                        width: 15
                    }
                },
                axisTick: {            // 坐标轴小标记
                    length :15,        // 属性length控制线长
                    lineStyle: {       // 属性lineStyle控制线条样式
                        color: 'auto'
                    }
                },
                splitLine: {           // 分隔线
                    length :20,         // 属性length控制线长
                    lineStyle: {       // 属性lineStyle（详见lineStyle）控制线条样式
                        color: 'auto'
                    }
                },
                detail : {
                    textStyle: {       // 其余属性默认使用全局文本样式，详见TEXTSTYLE
                        fontWeight: 'bolder'
                    }
                },
                data:[{value: {{data.kpi_increase_total}}, name: '新增用户数(万)'}],
                title : {
                    textStyle : {
                        fontSize : 28
                    }
                }
            },
            {
                name:'月度',
                type:'gauge',
                center : ['18%', '60%'],    // 默认全局居中
                radius : '50%',
                min:0,
                max:125,
                endAngle:65,
                splitNumber:1,
                axisLabel: {
                    textStyle:{
                        fontSize:18
                    }
                },
                axisLine: {            // 坐标轴线
                    lineStyle: {       // 属性lineStyle控制线条样式
                        width: 8
                    }
                },
                axisTick: {            // 坐标轴小标记
                    length :12,        // 属性length控制线长
                    lineStyle: {       // 属性lineStyle控制线条样式
                        color: 'auto'
                    }
                },
                splitLine: {           // 分隔线
                    length :20,         // 属性length控制线长
                    lineStyle: {       // 属性lineStyle（详见lineStyle）控制线条样式
                        color: 'auto'
                    }
                },
                pointer: {
                    width:5
                },
                title : {
                    offsetCenter: [0, '-30%'],       // x, y，单位px
                },
                detail : {
                    textStyle: {       // 其余属性默认使用全局文本样式，详见TEXTSTYLE
                        fontWeight: 'bolder'
                    }
                },
                data:[{value: {{data.kpi_increase_m}}, name: '二月'}],
                title : {
                    textStyle : {
                        fontSize : 28
                    }
                }
             }
         ]
         };
         // 使用刚指定的配置项和数据显示图表。
         boxofficekpi.setOption(option_boxoffice);
         cashkpi.setOption(option_cash);
         increasekpi.setOption(option_increase);
    </script>
</section>

<section class="slide "><div class="content"><h1>2016年KPI走势</h1>
<div id="boxofficetrend" style="width: 900px;height:1000px;float:left;"></div>
    <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var boxofficetrend = echarts.init(document.getElementById('boxofficetrend'));

option_boxoffice = {
    tooltip : {
        trigger: 'axis',
        textStyle:{
            fontSize:50
        },
        triggerOn: 'click',
    },
    legend: {
        data:['票房','现金','新增用户数'],
        textStyle:{
            fontSize:28
        }
    },
    grid: {
        left: '3%',
        right: '7%',
        bottom: '3%',
        containLabel: true
    },
    xAxis : [
        {
            type : 'category',
            boundaryGap : false,
            axisLabel: {
                textStyle:{
                    fontSize:20
                }
            },
            data : {{data.kpi_date}}
        }
    ],
    yAxis : [
        {
            type : 'value',
            axisLabel: {
                textStyle:{
                    fontSize:20
                }
            }
        }
    ],
    series : [
        {
            name:'票房',
            type:'line',
            smooth: true,
            data:{{data.kpi_boxoffice}},
            markLine : {
                data : [
                    {type : 'average', name : '平均值'}
                ]
            },
        },
        {
            name:'现金',
            type:'line',
            smooth: true,
            data:{{data.kpi_cash}}
        },
        {
            name:'新增用户数',
            type:'bar',
            smooth: true,
            markPoint: {
                data: [{name:"最大值",type:"max"}]
            },
            data:{{data.kpi_increase}}
        },
    ]
};

        // 使用刚指定的配置项和数据显示图表。
        boxofficetrend.setOption(option_boxoffice);
    </script>
</div></section>
<section class="slide "><div class="content"><h1>2016渠道</h1>
<div id="partner" style="width: 900px;height:1000px;float:left;"></div>
    <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var partner = echarts.init(document.getElementById('partner'));

option_partner = {
    title: {
        show: true,
        text: "新增用户分布",
        left: 'center',
        textStyle: {
            fontSize: 28,
            fontWeight: 'normal'
        }
    },
    tooltip: {
        trigger: 'item',
        formatter: "{a} <br/>{b}: {c} ({d}%)"
    },
    series: [
        {
            name:'新增用户数',
            type:'pie',
            selectedMode: 'single',
            radius: [0, '30%'],
            label: {
                normal: {
                    position: 'inner',
                    textStyle : {
                        fontSize : 22
                    }
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
            data:[
                {value:619048, name:'TCL', selected:true},
                {value:264319, name:'创维'},
                {value:98643, name:'康佳'}
            ]
        },
        {
            name:'新增用户数',
            type:'pie',
            radius: ['40%', '55%'],
            label: {
                normal: {
                    textStyle : {
                        fontSize : 22
                    }
                }
            },
            data:[
                {value:184968, name:'RT95-E5800A-UDM'},
                {value:98779, name:'MT5507-F3800T'},
                {value:81549, name:'MT5507-A810T'},
                {value:51836, name:'RT95-E5700A-UDMG'},
                {value:36258, name:'RT95-E5800A-UDT'},
                {value:32760, name:'MS828-A620U-UDM'},
                {value:32105, name:'AM6C-A71C-MG'},
                {value:26815, name:'MT55CD-F3700A-GT'},
                {value:21543, name:'MT07B-P1-F'},
                {value:19675, name:'MT55-F2800A-G'},
                {value:32760, name:'其它'},
                {value:264319, name:'skyworth-coocaa'},
                {value:98643, name:'KONKA-CN-TV-DEFAULT-CIBN'},
            ]
        }
    ]
};

        // 使用刚指定的配置项和数据显示图表。
        partner.setOption(option_partner);
    </script>
</div></section>
<section class="slide "><div class="content"><h1>同步今天</h1>
<table class="table table-bordered">
<thead>
<tr>
<th>片名</th>
<th align="center">下单数</th>
<th align="right">出票数</th>
</tr>
</thead>
<tbody>
{% for t in data.tongbu %}
<tr>
<td>{{t.name}}</td>
<td align="center">{{t.order_count}}</td>
<td align="right">{{t.ticket_count}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div></section>
<section class="slide "><div class="content"><h1>首发今天</h1>
<table class="table table-striped">
<thead>
<tr>
<th>片名</th>
<th align="center">播放人数</th>
<th align="right">播放率</th>
</tr>
</thead>
<tbody>
{% for t in data.shoufa %}
<tr>
<td>{{t.name}}</td>
<td align="center">{{t.uv}}</td>
<td align="right">{{t.playrate}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div></section>


<!-- deck.status snippet -->
<p class="deck-status">
	<span class="deck-status-current"></span>
	/
	<span class="deck-status-total"></span>
</p>

<!-- Grab CDN jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="slides/js/jquery-1.7.2.min.js"></script>

<!-- Deck Core and extensions -->
<script src="slides/js/deck.core.js"></script>
<script src="slides/js/deck.status.js"></script>
<script src="slides/js/deck.scale.js"></script>

<!-- Initialize the deck -->
<script>
$(function() {
	$.deck('.slide');
});
</script>

</body>
</html>
